/****************************************************************************************
**  File: Bone.hpp
**  Author: Asteroth
**  Date: 15-mag-2009
****************************************************************************************/

#ifndef __BONE_HPP__
#define __BONE_HPP__

class Bone {
public:
	estd::String name;
	int parent;

	core::Matrix4x4 transformation;
	core::Matrix4x4 finalTransformation;

	Bone(estd::String name = "", int parent = -1, core::Matrix4x4 transformation = core::IDENTITY_MATRIX, core::Matrix4x4 finalTransformation = core::IDENTITY_MATRIX): name(name), parent(parent), transformation(transformation), finalTransformation(finalTransformation) {}
};

const Bone IDENTITY_BONE = Bone("Identity");

#endif
